package org.neuedu.ssmp.crm.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author MoonHolder
 * @since 2019-12-09
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="Product对象", description="")
public class Product implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String name;

    @ApiModelProperty(value = "仓库名称")
    private String storeName;

    @ApiModelProperty(value = "货位名称")
    private String houseName;

    @ApiModelProperty(value = "数量")
    private Integer quantity;

    @ApiModelProperty(value = "批次")
    private String batch;

    @ApiModelProperty(value = "价格")
    private Float price;

    @ApiModelProperty(value = "单位")
    private String unit;

    @ApiModelProperty(value = "型号")
    private String model;

    @ApiModelProperty(value = "备注")
    private String content;


}
